package cn.kp.learning.service;

import java.util.HashMap;
import java.util.List;

import cn.kp.learning.model.People;
import cn.kp.learning.model.PeopleExample;

public interface PeopleService {

	public int addPeople(People pl);
	
	public int addPeopleList(List<People> lt);
	
	public int deletePeopleByUserName(String userName);
	
	public int updatePeople(People pl);
	
	public People getPeople(HashMap<String,Object> hm);
	
	public int countPeople(PeopleExample example);
	
	public People selectPeopleLogin(HashMap<String, Object> hm);
	
	public List<People> selectPeopleList(PeopleExample example);
	
}